<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="../Public/js/jquery.js" ></script>
<load href="../Public/js/MyDate/WdatePicker.js"/>
<script type="text/javascript">
	$(function(){
		$("#pv_sb").click(function(){
			$("#form_pv").submit();
		});
		$("#ip_sb").click(function(){
			$("#form_ip").submit();
		});
		$("#uv_sb").click(function(){
			$("#form_uv").submit();
		});
		$("#date_sb").click(function(){
			$("#form_date").submit();
		});
	});
</script>
<style type="text/css">
body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333; }
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border: 1px solid #787878;">
  <tr align="left" valign="top" bgcolor="#f2f2f2">
    <td height="472" ><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="padding-bottom:20px;">
        <tr align="center" valign="top" bgcolor="#d8d8d8">
          <td><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #787878; padding:0px 10px 0px 10px;">
              <tr align="left" valign="middle">
                <td height="40" style="padding-left:5px;">数据流量&gt;{$app_name}&gt;{$show_date}</td>
                <td width="33%"><form action="{:U('Dataflow/view_index',array('app_id'=>$app_id))}" method="post" id="form_date"><table width="54%" border="0" align="center" cellpadding="0" cellspacing="0">
                
                    <tr align="left" valign="middle">
                      <td width="20%"><input  class="Wdate input-text"  name="startdate" type="text" id="startdate" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'<?php echo date('Y-m-d');?>'})" value="
<?php 
if($_REQUEST['startdate']){
//echo date('Y-m-d',$_REQUEST['startdate']);
echo $_REQUEST['startdate'];  
}else{
echo date('Y-m-d'); 
}
?>
" /></td>
                      <td width="60%"><a href="#"><img src="../Public/images/shearch.jpg" width="60" height="23" id="date_sb"/></a></td>
                    </tr>
                  </table>
                  </form>
                  </td>
              </tr>
            </table></td>
        </tr>
        <tr valign="top">
          <td height="413"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr align="left" valign="middle">
                <td height="45"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
                    <tr align="left">
                      <td width="47">排序：</td>
                      <td width="68"><form action="{:U('Dataflow/view_index')}" method="post" id="form_pv"><input type="hidden" name="in_pv_ip_uv" value="pv"/><img src="../Public/images/pv.jpg" width="60" height="23" id="pv_sb"/></form></td>
                      <td width="65"><form action="{:U('Dataflow/view_index')}" method="post" id="form_ip"><input type="hidden" name="in_pv_ip_uv" value="ip"/><img src="../Public/images/ip.jpg" width="60" height="23" id="ip_sb"/></form></td>
                      <td width="548"><form action="{:U('Dataflow/view_index')}" method="post" id="form_uv"><input type="hidden" name="in_pv_ip_uv" value="uv"/><img src="../Public/images/uv.jpg" width="65" height="23" id="uv_sb"/></form></td>
                    </tr>
                  </table></td>
              </tr>
              <tr align="left" valign="top">
                <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="45%" style="border-left:1px solid #cacaca; border-top:1px solid #cacaca;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr align="center" valign="middle">
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">小时</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">pv</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">ip</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">uv</td>
                      </tr>
                      <volist name="list" id="vo" key="k">
                    <tr align="center" valign="middle">
                    
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">{$vo.id_h}</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo['pv'] eq '' ">0<else />{$vo.pv}</if></td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo['ip'] eq '' ">0<else />{$vo.ip}</if></td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo['uv'] eq '' ">0<else />{$vo.uv}</if></td>
                    
                      </tr>
                      </volist>
                    
                  </table></td>
    <td width="55%" align="left" valign="top" style=" padding-left:20px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="110"><img src="{$view_html}" /></td>
  </tr>
  <tr>
    <td height="111" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:20px; border-left:1px solid #cacaca; border-top:1px solid #cacaca;">
                    <tr align="center" valign="middle">
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">链接</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">时间段</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">pv</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">ip</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">uv</td>
                      </tr>
                      <volist name="link_info_num_list" id="vo2" key="k2">
                    <tr align="center" valign="middle">
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">{$vo2.alias}</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;">{$vo2.date}</td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo2['pv'] eq '' ">0<else />{$vo2.pv}</if></td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo2['ip'] eq '' ">0<else />{$vo2.ip}</if></td>
                      <td width="12%" height="20" style=" border-bottom:1px solid #cacaca; border-right:1px solid #cacaca;"><if condition="$vo2['uv'] eq '' ">0<else />{$vo2.uv}</if></td>
                    </tr>
                    </volist>  
                  </table></td>
  </tr>
</table>
</td>
  </tr>
</table>
</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
